package com.cao.meet.swipelist;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.LinearLayout;

public class MergeActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_merge);
        initViews();
    }

    private void initViews() {
        LayoutInflater inflater = LayoutInflater.from(this);
        LinearLayout root = (LinearLayout) findViewById(R.id.root);
        View  view = inflater.inflate(R.layout.add_layout,root,false);
        root.addView(view);
    }
}
